package com.lx.pc.domain.entity.worder;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 用户公众号下单
 * @author houzhong
 *
 */
@Entity(table = "w_order")
public class WOrderEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 下单用户id
	 */
	@Column(name = "user_id")
	private String userId;
	
	/**
	 * 接单用户id
	 */
	@Column(name = "receipt_id")
	private String receiptId;
	
	/**
	 * 订单编号
	 */
	@Column(name = "order_number")
	private String orderNumber;
	
	/**
	 * 取件时间
	 */
	@Column(name = "pick_time")
	private String pickTime;
	
	/**
	 * 省
	 */
	@Column(name = "province")
	private String province;
	
	/**
	 * 市
	 */
	@Column(name = "city")
	private String city;
	
	/**
	 * 区
	 */
	@Column(name = "area")
	private String area;
	
	/**
	 * 详细地址
	 */
	@Column(name = "address")
	private String address;
	
	/**
	 * 状态 1 进行中 2 已完成 3 已取消
	 */
	@Column(name = "status")
	private Integer status;
	
	/**
	 * 支付方式 1 线下 2 微信 3 银行卡 4 余额
	 */
	@Column(name = "payment_type")
	private Integer paymentType;
	
	/**
	 * 支付状态 1 支付成功 2 未支付
	 */
	@Column(name = "payment_status")
	private Integer paymentStatus;
	
	/**
	 * 1 回收员 2 司机
	 */
	@Column(name = "type")
	private Integer type;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getPickTime() {
		return pickTime;
	}

	public void setPickTime(String pickTime) {
		this.pickTime = pickTime;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(String receiptId) {
		this.receiptId = receiptId;
	}

	public Integer getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

	public Integer getPaymentStatus() {
		return paymentStatus;
	}

	public void setPaymentStatus(Integer paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	

}
